<?php
class user {
    private $i=0;
public function __construct(){
        $this->i=50;
        $this->user_add();
        $this->user_add();
        $this->user_add();
        $this->user();
    }
    public function user(){
        echo('userlist');
    }
    function user_add(){
        $s='add('.$this->i.') ok!';
        $this->i++;
        echo ($s);
    }

}
?>